<template>
<div id="home">
<el-container>
  <el-header><Header/></el-header>
  <el-container>
    <el-aside width="260px"><Side/></el-aside>
    <el-main><router-view/></el-main>
  </el-container>
</el-container>
</div>
</template>

<script>
import Header from "../components/Header.vue";
import Side from "../components/Side.vue"
export default{
    name:"Home",
    components:{Side,Header}
}
</script>

<style lang="scss" scoped>
#home{
  height: 100%;
  width: 100%;
}
.el-header{
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
    padding: 0;
  }
  
  .el-aside {
    position: absolute;
    top: 60px;
    width: 250px;
    height: calc(100% - 60px);
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }
  
  .el-main {
    position: absolute;
    background-color: #D3DCE6;
  left: 260px;
  top: 60px;
  overflow: auto;
  height: calc(100% - 60px);
  width: calc(100% - 260px);
    // background-color: #E9EEF3;
    // color: #333;
    // text-align: center;
    // line-height: 160px;
  }
</style>